<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> 
<table cellpadding="0" cellspacing="0" border="0" class="datatable">
	<thead>
		<tr>
			<th>姓名</th>
			<th>部门</th>
			<th>职位</th>
			<th>电话</th>
			<th>手机</th>
			<th>邮箱</th>
		</tr>
	</thead>
	<tbody>
	<c:forEach var="user" items="${users }"  varStatus="status">
	<tr class='grade<c:if test="${status.index%2==0}">B</c:if><c:if test="${status.index%2!=0}">A</c:if>'>
		<td>${user.ui_nickname }</td>
		<td>${user.o_name }</td>
		<td>${user.ui_position }</td>
		<td>${user.ui_phone }</td>
		<td>${user.ui_mobile }</td>
		<td>${user.ui_email }</td>
	</tr>
	</c:forEach>
	</tbody>
</table>
<script>
$(".datatable").dataTable(datatable_config);
</script>